package com.example.patient.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName AppointmentEscortReserve
 * @Author wengjt
 * @Date 2021/5/7 17:35
 * @Description
 **/
@ApiModel
@Data
public class AppointmentEscortReserve {
    @ApiModelProperty(value = "病人id")
    private Long pId;
    @ApiModelProperty(value = "预约套餐id")
    private Long productId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date beginTime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @ApiModelProperty(value = "性别限制")
    private String caregiverGender;
    @ApiModelProperty(value = "联系人")
    private String linkMan;
    @ApiModelProperty(value = "联系电话")
    private String linkTel;
}
